<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="include/header_css::header('新增-资讯')"></head>
<body>
	<div id="dpLTE" class="container-fluid" v-cloak>
		<table class="form" id="form">
            <tr>
                <td class="formTitle">类型</td>
                <td class="formValue">
                    <label class="radio-inline">
                        <input type="radio" name="type" value="1" v-model="information.type"/> 行业动态
                    </label>
                    <label class="radio-inline">
                        <input type="radio" name="type" value="2" v-model="information.type"/> 财经新闻
                    </label>
                    <label class="radio-inline">
                        <input type="radio" name="type" value="3" v-model="information.type"/> 政策法规
                    </label>
                    <label class="radio-inline">
                        <input type="radio" name="type" value="4" v-model="information.type"/> 国废外废专题
                    </label>
                </td>
            </tr>
			<tr>
	            <td class="formTitle">标题<font face="宋体">*</font></td>
	            <td class="formValue">
					<input type="text" class="form-control" placeholder="标题" v-model="information.title" isvalid="yes" checkexpession="NotNull">
	            </td>
        	</tr>
			<tr>
	            <td class="formTitle">作者<font face="宋体">*</font></td>
	            <td class="formValue">
					<input type="text" class="form-control" placeholder="作者" v-model="information.author" isvalid="yes" checkexpession="NotNull">
	            </td>
        	</tr>
			<!-- <tr>
	            <td class="formTitle">地区ID<font face="宋体">*</font></td>
	            <td class="formValue">
					<input type="text" class="form-control" placeholder="地区ID" v-model="information.areaCode" isvalid="yes" checkexpession="NotNull">
	            </td>
        	</tr> -->
			<tr>
	            <td class="formTitle">排序<font face="宋体">*</font></td>
	            <td class="formValue">
					<input type="text" class="form-control" placeholder="排序" v-model="information.orderNum" isvalid="yes" checkexpession="NotNull">
	            </td>
        	</tr>
			<tr>
                <td class="formTitle">可用</td>
                <td class="formValue">
                    <label class="radio-inline">
                        <input type="radio" name="status" value="1" v-model="information.status"/> 正常
                    </label>
                    <label class="radio-inline">
                        <input type="radio" name="status" value="2" v-model="information.status"/> 禁用
                    </label>
                </td>
            </tr>
			<tr>
	            <td class="formTitle">来源<font face="宋体">*</font></td>
	            <td class="formValue">
					<input type="text" class="form-control" placeholder="来源" v-model="information.source" isvalid="yes" checkexpession="NotNull">
	            </td>
        	</tr>
        	<tr>
	            <td class="formTitle">图片<font face="宋体">*</font></td>
	            <td class="formValue">
					  <input  type="hidden" class="form-control" placeholder="图片" v-model="information.img" isvalid="yes" checkexpession="NotNull"> 
	            	<div id="preview">
					    <img id="imghead" border="0" src="http://localhost:8080/lx-oms-web/statics/img/WechatIMG12.png" v-model="information.img" width="90" height="90"  onclick="$('#previewImg').click();">
					</div>
					<input type="file" onchange="previewImage(this)" style="display: none;"  id="previewImg">
	            </td>
        	</tr>
			<tr>
	            <td class="formTitle">内容<font face="宋体">*</font></td>
	            <td class="formValue">
					<!-- <input type="text" class="form-control" placeholder="内容" v-model="information.content" isvalid="yes" checkexpession="NotNull"> -->
	            	<script id="editor"  type="text/plain" style="width:590px;height:300px; float: left;">
					</script>
	            </td>
        	</tr>
		</table>
		<div style="display:none;" id="introdution" v-model="contentStr"></div>
	</div>
    <div th:include="include/footer_js::footer"></div>
    <script th:src="@{/statics/js/base/information/add.js}"></script>
</body>
</html>